Automattic\Jetpack\Waf\Waf_Runner A

Total Complexity 54
Dependencies 14
Dependents 10
Total lines 420
Lines of code 192
Logical lines of code 108
Comment lines 162
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
is_supported_environment()
A
57 8 18
run()
S
53 6 23
automatic_rules_available()
S
54 6 21
initialize()
S
57 5 19
initialize_waf_directory()
S
61 4 13
deactivate()
S
61 3 13
get_config()
S
58 2 16
initialize_filesystem()
S
65 3 9
activate()
S
62 2 12
is_allowed_mode()
S
64 2 10
is_enabled()
S
71 2 6
get_waf_file_path()
S
67 2 7
get_standalone_mode_status()
S
78 2 3
enable()
S
78 1 3
disable()
S
79 1 3
get_bootstrap_file_path()
S
76 1 4
add_hooks()
S
78 1 3
did_run()
S
80 1 3
errorHandler()
S
89 1 2
update_waf()
S
77 1 4